package com.zlzxm.shoesmarket.view.adapter;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.viewholder.BaseViewHolder;
import com.zlzxm.shoesmarket.R;
import com.zlzxm.shoesmarket.view.adapter.entity.EntitySizePeopleNum;

import org.jetbrains.annotations.NotNull;

/**
 * CREATE BY zlzxm ON 4/22/21
 */
public class ADSizePeopleNum extends BaseQuickAdapter<EntitySizePeopleNum,BaseViewHolder> {
    public ADSizePeopleNum() {
        super(R.layout.item_size_people_num);
    }

    @Override
    protected void convert(@NotNull BaseViewHolder baseViewHolder, EntitySizePeopleNum entitySizePeopleNum) {
        baseViewHolder.setText(R.id.tvSize,entitySizePeopleNum.getSize());
        baseViewHolder.setText(R.id.tvNum,entitySizePeopleNum.getNum());
    }




}
